package com.ftwj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


@EnableWebMvc
@EnableTransactionManagement(proxyTargetClass=true)
@SpringBootApplication
@EnableScheduling
@MapperScan(basePackages = {"com.ftwj.mapper"})
public class ServiceApplication  {

    public static void main(String[] args) {
        SpringApplication.run(ServiceApplication.class);
        System.out.println("起来了！");
    }


}
